package com.neuedu.hcp.service;

import com.neuedu.hcp.entity.RecoveryPlan;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.hcp.entity.RespPageBean;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 第八组
 * @since 2021-04-26
 */
public interface IRecoveryPlanService extends IService<RecoveryPlan> {
    /**
     * 获取所有康复计划分页
     * @param currentPage
     * @param size
     * @param recoveryPlan
     * @return
     */
    RespPageBean getPlanListByPage(Integer currentPage, Integer size, RecoveryPlan recoveryPlan);

    /**
     * 插入
     * @param recoveryPlan
     * @return
     */
    int insert(RecoveryPlan recoveryPlan);

}
